package com.boarsoft.boar.office.meeting;

import com.boarsoft.boar.office.entity.MeetingInfo;
import com.boarsoft.common.dao.PagedResult;

public interface MeetingBiz {

	/**
	 * 
	 * @param groupId
	 * @param userId
	 * @param key
	 * @param orderBy
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	PagedResult<MeetingInfo> list(String groupId, String userId, String key, String orderBy, int pageNo, int pageSize);

	MeetingInfo get(String id);

	void save(MeetingInfo o, String[] userIds);

	void save(MeetingInfo o);

	void update(MeetingInfo o, String[] userIds);

	PagedResult<MeetingInfo> list(String groupId, String ownerId, String key, Short status, String orderBy, int pageNo,
			int pageSize);

	void update(MeetingInfo o);
}
